package caser.cairngorm.services.async
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import mx.collections.ArrayCollection;

	public class ServiceMethodCallEvent extends CairngormEvent
	{
		public var serviceMethodCallContainer: IServiceMethodCallContainer;
		public var callBacksCollection: ArrayCollection;
		
		public function ServiceMethodCallEvent(
			serviceMethodCallContainer: IServiceMethodCallContainer,
			callBacksArray: Array,
			type:String, 
			bubbles:Boolean=false, 
			cancelable:Boolean=false
		)
		{
			super(type, bubbles, cancelable);
			this.serviceMethodCallContainer = serviceMethodCallContainer;
			this.callBacksCollection = new ArrayCollection(callBacksArray);
		}
		
	}
}